-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Boards Menu: add hint if core lives in sketchbook #10007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Sounds like a good change. I've been modifying the platform.txt of these cores to change the label here, doing this automatically would be even better. But I'm wondering if One alternative that springs to mind would be Or how about |
|
6f5d097
to
4c19878
Compare
Hm, one more caveat: This now actually checks whether the absolute path is inside the sketchbook, but in my setup all my git checkouts live elsewhere and are symlinked into the sketchbook, so none of them show the Would it make sense to, instead of looking at the path, keep a flag (or maybe a "source" field of "install dir/package dir/sketchbook") for each platform that is set when the platforms are loaded? |
Mine too are symlinked but I can see the label (they didn't show if I replace |
Oh, good point. Let me doublecheck my setup and get back to you :-) |
arduino-core/src/processing/app/debug/LegacyTargetPlatform.java
Outdated
Show resolved
Hide resolved
Co-Authored-By: Matthijs Kooijman <[email protected]>
✅ Build completed. Please test this code using one of the following: ⬇️ https://downloads.arduino.cc/javaide/pull_requests/arduino-PR-10007-BUILD-949-linux32.tar.xz ℹ️ The |
All Submissions:
For core development the recommended methods is to clone the core repo in
$sketchbook/hardware
. Before 9b48e8d these cores were listed after all Board Manager cores; now they are interleaved and quite difficult to spot immediately.This patch adds the
(sketchbook)
label to cores living in sketchbook, usinggetAbsolutePath
so symlinked cores can be spotted too).